package name.fowler.refactoring.simplestore.reporter.report;

import java.util.List;

public abstract class ReportUnit <T>{

	private List<T> collection;
	
	public ReportUnit(List<T> collection) {
		this.collection = collection;
	}

	public ReportUnit() {

	}
	
	public List<T> getCollection() {
		return collection;
	}

	public void setCollection(List<T> collection) {
		this.collection = collection;
	}

	public boolean add(T e) {
		return collection.add(e);
	}

}
